﻿@using Didsoft.Mvc.Helpers
@model SIOGDE.AccesoDatos.Entidades.Arma

@{
    ViewBag.Title = "Arma";
}
<link href="~/Content/DataForm.css" rel="stylesheet" />
 
@using (Html.BeginForm("Delete","Arma",FormMethod.Post, new {@class="box Common", @id="myDataForm"})) {
    <div class="header">
        Esta a punto de eliminar eliminar Arma, desea continuar?
    </div>    
    <fieldset class="boxBody">
        @Html.ValidationMessage("DataFormError")
         <div class="editor-label">
            <p>
                @Html.DisplayTextFor(model => model.Codigo) -  @Html.DisplayTextFor(model => model.Nombre)
            </p>
        </div>
    </fieldset>
     <footer>
        <input type="hidden" id="ide" name="ide" class="btnCommon" value="@Didsoft.Mvc.Security.WebUtils.Encrypt(Model.Id.ToString())"/>
	    <input type="submit" class="btnCommon" value="Eliminar"/>
         <input type="button" class="btnCancel" value ="Cancelar y Regresar" onclick="history.go(-1);"/>	    
	</footer>
}
